import Vue from 'vue';

import app from './App.vue'

//导入 mint-ui,按需导入组件
import {Header,Swipe,SwipeItem } from 'mint-ui'
Vue.component(Header.name,Header)
Vue.component(Swipe.name,Swipe)
Vue.component(SwipeItem.name,SwipeItem)

import VueRouter from 'vue-router'
// 2. 手动安装 VueRouter 
Vue.use(VueRouter)

// 2.1导入vue-resource
import VueResource from 'vue-resource'
// 2.2 安装vue-resource
Vue.use(VueResource)

//1.3导入路由
import router from './router.js'
//导入MUI样式
import './lib/mui/css/mui.min.css'
//导入购物车相关的css文件
import './lib/mui/css/icons-extra.css'


var vm=new Vue({
  el:'#app',
  data:{

  },
  methods:{
    
  },
  
    
  render:c=>c(app),
  router



})

